package com.healthcloud.entity;

import com.healthcloud.constants.StringConsts;

/**
 * <p>医院实体</p>
 * <p>社区实体</p>
 *
 * Created by xiam on 2015/6/10.
 */
public class Hospital extends LogicDelEntity {

    private static final long serialVersionUID = 4798320963171958301L;

    private String hospName = StringConsts.EMPTY; // 医院名称

    private String hospShortName = StringConsts.EMPTY; // 医院简称

    private Long areaCode = 0L; // 医院所在地区编码

    private Long townCode = 0L; // 街道编码

    private String hospAddress = StringConsts.EMPTY; // 医院地址

    private Integer hosLevel = 0; // 医院等级

    private Integer hosType = 0; // 医院行政等级

    private String contactPhone = StringConsts.EMPTY; // 医院联系电话

    private String contacts = StringConsts.EMPTY; // 医院联系人

    private String superiorHospName = StringConsts.EMPTY; // 上级医院名称

    private Long superiorHospId; // 上级医院id

    private String hosLevelString;//医院等级显示

    private String showShowProvinceAreaSqlLite;
    
    private String text;

    public Hospital(){}

    public Hospital(boolean simple){
        if(simple){
            id = null;
            hospName = null;
            hospShortName = null;
            areaCode = null;
            townCode = null;
            hospAddress = null;
            hosLevel = null;
            hosType = null;
            contactPhone = null;
            contacts = null;
            superiorHospName = null;
            superiorHospId = null;
            isDel = null;
            createdTime = null;
            updatedTime = null;
        }
    }

    public String getHospName() {
        return hospName;
    }

    public void setHospName(String hospName) {
        this.hospName = hospName;
    }

    public String getHospShortName() {
        return hospShortName;
    }

    public void setHospShortName(String hospShortName) {
        this.hospShortName = hospShortName;
    }

    public Long getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(Long areaCode) {
        this.areaCode = areaCode;
    }

    public Long getTownCode() {
        return townCode;
    }

    public void setTownCode(Long townCode) {
        this.townCode = townCode;
    }

    public String getHospAddress() {
        return hospAddress;
    }

    public void setHospAddress(String hospAddress) {
        this.hospAddress = hospAddress;
    }

    public Integer getHosLevel() {
        return hosLevel;
    }

    public void setHosLevel(Integer hosLevel) {
        this.hosLevel = hosLevel;
    }

    public Integer getHosType() {
        return hosType;
    }

    public void setHosType(Integer hosType) {
        this.hosType = hosType;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getSuperiorHospName() {
        return superiorHospName;
    }

    public void setSuperiorHospName(String superiorHospName) {
        this.superiorHospName = superiorHospName;
    }

    public Long getSuperiorHospId() {
        return superiorHospId;
    }

    public void setSuperiorHospId(Long superiorHospId) {
        this.superiorHospId = superiorHospId;
    }

    public String getHosLevelString() {
        return hosLevelString;
    }

    public void setHosLevelString(String hosLevelString) {
        this.hosLevelString = hosLevelString;
    }

    public String getShowShowProvinceAreaSqlLite() {
        return showShowProvinceAreaSqlLite;
    }

    public void setShowShowProvinceAreaSqlLite(String showShowProvinceAreaSqlLite) {
        this.showShowProvinceAreaSqlLite = showShowProvinceAreaSqlLite;
    }

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}
    
}
